package com.yu.waterstation.system.modules.app.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yu.waterstation.common.entity.app.Task;
import org.apache.ibatis.annotations.Select;

public interface TaskMapper extends BaseMapper<Task> {

    // 查询寝室有没有送水任务
    @Select("select count(*) from task where address_id = #{param1}; ")
    int selectCountById(Integer id);
}
